package com.ruoyi.ies.mapper;

import java.util.List;
import com.ruoyi.ies.domain.WorkingVehicle;

/**
 * 车辆Mapper接口
 * 
 * @author July
 * @date 2023-06-05
 */
public interface WorkingVehicleMapper 
{
    /**
     * 查询车辆
     * 
     * @param vehicleId 车辆主键
     * @return 车辆
     */
    public WorkingVehicle selectWorkingVehicleByVehicleId(Long vehicleId);

    /**
     * 查询车辆列表
     * 
     * @param workingVehicle 车辆
     * @return 车辆集合
     */
    public List<WorkingVehicle> selectWorkingVehicleList(WorkingVehicle workingVehicle);

    /**
     * 新增车辆
     * 
     * @param workingVehicle 车辆
     * @return 结果
     */
    public int insertWorkingVehicle(WorkingVehicle workingVehicle);

    /**
     * 修改车辆
     * 
     * @param workingVehicle 车辆
     * @return 结果
     */
    public int updateWorkingVehicle(WorkingVehicle workingVehicle);

    /**
     * 删除车辆
     * 
     * @param vehicleId 车辆主键
     * @return 结果
     */
    public int deleteWorkingVehicleByVehicleId(Long vehicleId);

    /**
     * 批量删除车辆
     * 
     * @param vehicleIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkingVehicleByVehicleIds(Long[] vehicleIds);
}
